package com.ysx.ch04;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Client {


    public static void main(String[] args) {

        AnnotationConfigApplicationContext context
                = new AnnotationConfigApplicationContext(ScottConfiguration.class);


        Cal cal = context.getBean(Cal.class);
        cal.add(15,3);
    }
}
